package org.truenewx.tnxjee.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.truenewx.tnxjee.core.crypto.EncryptKeyProvider;

@ConfigurationProperties("tnxjee.config.property.value.translator.encrypt")
public class EncryptPropertyValueTranslatorProperties {

    private String prefix;
    private String password;
    private String key;
    private Class<? extends EncryptKeyProvider> keyProviderClass;
    private String check;

    public String getPrefix() {
        return this.prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getKey() {
        return this.key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Class<? extends EncryptKeyProvider> getKeyProviderClass() {
        return this.keyProviderClass;
    }

    public void setKeyProviderClass(Class<? extends EncryptKeyProvider> keyProviderClass) {
        this.keyProviderClass = keyProviderClass;
    }

    public String getCheck() {
        return this.check;
    }

    public void setCheck(String check) {
        this.check = check;
    }
}
